package br.com.etecmatao.dao.impl;

import br.com.etecmatao.model.Noticias;
import br.com.etecmatao.dao.NoticiasDAO;
import java.util.List;

public class NoticiasDAOImpl extends GenericDAOImpl<Noticias, Integer> implements NoticiasDAO {

    @Override
    public List<Noticias> findAll() {
         return getEntityManager().createNamedQuery("Noticias.findAll").getResultList();
    }
}
